{% extends "base.html" %}

{% block title %}留言墙 —— 编辑{% endblock %}

{% block content %}
<div class="ui container">
	<br/>
	<form action="{% url 'message:editor' %}"
					method="post" class="ui form">
	{% csrf_token %}
	<fieldset>
		<legend><h1>留言！</h1></legend>
		{{ message_form.media }}
		{{ message_form.as_p }}
	</fieldset>

	<br/>
	<button type="submit" class="ui button">留下这句话！</button>
	</form>
</div>
{% endblock %}